package ro.one.gaeql.model;

import java.io.Serializable;

public class Where implements Serializable {
	private static final long serialVersionUID = 1L;
	
	Condition leftCondition;
	LogicalOperator logicalOperator;
	Where rigthWhere;
	
	public Where(Condition leftCondition, LogicalOperator logicalOperator, Where rightWhere) {
		this.leftCondition = leftCondition;
		this.logicalOperator = logicalOperator;
		this.rigthWhere = rightWhere;
	}
	
	public Condition getLeftCondition() {
		return leftCondition;
	}
	
	public LogicalOperator getLogicalOperator() {
		return logicalOperator;
	}

	public Where getRightWhere() {
		return rigthWhere;
	}
	
}
